package com.jr.controller;

import com.jr.entry.Food;
import com.jr.service.FoodService;
import com.jr.util.ResultObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/food/")
public class FoodController {
    @Autowired
    private FoodService foodService;
    @Autowired
    private ResultObject result;
    @RequestMapping("find")
    public ResultObject findEvery(Food food){
        return result;
    }
}
